compress/gzip.Writer.buf (field)
17 uses
compress/gzip (current package)
gzip.go#L37: buf [10]byte
gzip.go#L97: le.PutUint16(z.buf[:2], uint16(len(b)))
gzip.go#L98: _, err := z.w.Write(z.buf[:2])
gzip.go#L132: z.buf[0] = 0
gzip.go#L133: _, err = z.w.Write(z.buf[:1])
gzip.go#L147: z.buf = [10]byte{0: gzipID1, 1: gzipID2, 2: gzipDeflate}
gzip.go#L149: z.buf[3] |= 0x04
gzip.go#L152: z.buf[3] |= 0x08
gzip.go#L155: z.buf[3] |= 0x10
gzip.go#L160: le.PutUint32(z.buf[4:8], uint32(z.ModTime.Unix()))
gzip.go#L163: z.buf[8] = 2
gzip.go#L165: z.buf[8] = 4
gzip.go#L167: z.buf[9] = z.OS
gzip.go#L168: _, z.err = z.w.Write(z.buf[:10])
gzip.go#L246: le.PutUint32(z.buf[:4], z.digest)
gzip.go#L247: le.PutUint32(z.buf[4:8], z.size)
gzip.go#L248: _, z.err = z.w.Write(z.buf[:8])
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |